package cn.openea.perpartner.meily.rabbit.service;

import cn.openea.perpartner.meily.rabbit.domain.DelayDto;
import org.springframework.beans.factory.InitializingBean;

import java.util.TimerTask;

/**
 * @author Weird077
 * @description TODO
 * @date 2023-02-09 17:30
 */
public interface DelayService extends InitializingBean {

/**
     * 执行延迟任务
     * @param delay
     */
TimerTask execute(DelayDto delay);

}
